package com.wangtongxiao.services;

import com.wangtongxiao.beans.User;
import com.wangtongxiao.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("UserServicesFilter")
public class UserServicesFilterImp implements UserServices{
    @Autowired
    UserMapper userMapper;
    @Override
    public User login(String loginAct, String loginPwd) {

        return userMapper.getUserPassword(loginAct,loginPwd);
    }
}
